body, html {    
    height: 100%;
    width: 100%;
}

div.content {
    height: 100%;
    display: flex
}

div.left {
    width: 240px;
    height: 100%;
    background-color: #333333;
}

div.left > div.user {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

div.left > div.user > img#avatar {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    border: 1px rgba(255, 255, 255, 0.3) solid;
    padding: 12px;
}

div.left > div.user > p#name {
    color: white;
    font-size: 1.2em;
}

div.left > div.index > ul.items {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
}

div.left > div.index > ul.items > li {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.8);
    padding-right: 8px;
}

div.left > div.index > ul.items > li > a {
    line-height: 36px;    
    background-color: transparent;
}

div.left > div.index > div.header {
    display: flex;
    flex-direction: row;
}

div.left > div.index >  div.header > span:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

div.left > div.index > ul.items label.item {
    display: block;
    height: 36px;
    line-height: 36px;
    font-size: 1.0em;
    padding-left: 18px;
    flex-grow: 1;
    margin: 0;
}

div.left > div.index {
    color: white;
}

div.left > div.index > div.header {
    border-left: 12px solid #2c2c2c;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

div.left > div.index > div.header > span.dir {
    width: 100%;
    height: 48px;
    line-height: 48px;
    padding-left: 12px;
    font-size: 1.6em;
}

div.left > div.index > div.header > a {
    line-height: 48px;
    padding: 0 8px;
}

div.left > div.index label::before {
    margin-right: 8px;
}

div.left > div.index >  div.header > label:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

div.left > div.index > ul.items > li:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

div.left input.ra {
    display: none;
}

div.left input.cb + ul.items {
    display: none;
}

div.left input.ra:checked + label.item {
    border-left: 12px solid #171717;
}

div.left input.cb:checked + ul.items {
    display: block;
}

div#editormd {
    height: 100%;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    background-color: #2c2c2c;
}

div.model {
    position: absolute;
    top:0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 999;
}

div.model > div.dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 8px;
    border-radius: 12px;
}